package com.cl.code.entity;

/**
 * @author chengliang
 * @since 1.0.0
 */
public class Major {

    private final int id;

    private final String name;

    public Major(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return name;
    }
}
